Fix synonyms CI tests timeout#114641
Conversation
|
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
mayya-sharipova
left a comment
There was a problem hiding this comment.
@carlosdelest Thanks for fixing. LGTM!
kingherc
left a comment
There was a problem hiding this comment.
LGTM! If there are still failures, maybe increasing the timeout might help. Or, ignoring the timeout altogether may be helpful:
- do:
cluster.health:
index: .synonyms-2
timeout: 1m
wait_for_status: green
ignore: 408
It will let requests go through then, but it's still annoying that the health might not be green (I'd expect ideally tests to use the synonyms with green health rather than yellow).
| - label: "{{matrix.image}} / docker / packaging-tests-unix" | ||
| key: "packaging-tests-unix-docker" | ||
| command: ./.ci/scripts/packaging-test.sh destructiveDistroTest.docker | ||
| command: ./.ci/scripts/packaging-test.sh destructiveDistroTest.docker-cloud-ess |
There was a problem hiding this comment.
I screwed up - will get back to this
8aa2910 to
d4bd80a
Compare
|
@elasticmachine update branch |
…ts-timeout' into carlosdelest/fix-synonyms-ci-tests-timeout # Conflicts: # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/10_synonyms_put.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/110_synonyms_invalid.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/20_synonyms_get.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/30_synonyms_delete.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/40_synonyms_sets_get.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/50_synonym_rule_put.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/60_synonym_rule_get.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/70_synonym_rule_delete.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/80_synonyms_from_index.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/90_synonyms_reloading_for_synset.yml
5edd935 to
bc07059
Compare
|
|
||
| - do: | ||
| cluster.health: | ||
| wait_for_no_initializing_shards: true |
There was a problem hiding this comment.
😍
Does this work? Seems likely?
|
Using the changes commented by @kingherc makes this pass. Serverless checks also pass (see PR 3015 in serverless). |
kingherc
left a comment
There was a problem hiding this comment.
Awesome that it worked! Please note that due to #115019 we had to revert the fast refresh behavioral change, but I think it still makes sense to merge this so that the tests are ready for when we re-incorporate the change in the near future.
Feel free to get a search approval as well before merging.
Closes #114444
Closes #114443
Closes #114432
(Hopefully) 🤞
Using an alias was making the test flaky. Changed that back to the original version in #114400, and also added this to the rest of the synonyms tests that could be affected by this issue.